package question.T0215_2_UIKit.kit;

class MacCheckbox implements Checkbox {
    private boolean checked = false;

    @Override
    public String getDescription() {
        return "Mac Checkbox";
    }

    @Override
    public void check() {
        checked = !checked;
        System.out.println("Mac Checkbox toggled: " + checked);
    }

    @Override
    public boolean isChecked() {
        return checked;
    }
}